import { post } from "@/api/services/formReq";

export const getDataBreachList = params => post("/v2/breach/list", params)
export const getGroup = params => post('/v2/breach/filter/group', params)
export const getTotal = params => post('/v2/breach/statistics', params)
export const getDetail = params => post('/v2/breach/detail', params)
export const deleteDataBreach = params => post("/v2/breach/delete", params)
export const getFileList = params => post("/v2/breach/file/list", params)
export const deleteFile = params => post("/v2/breach/file/delete", params)
export const getProcessorList = params => post("/v1/processor/dropDown", params)
export const reback = params => post('/v2/breach/revoke', params)
export const changeStatus = params => post("/v2/breach/chargeState", params)
export const getSharingList = params => post("/v2/breach/sharing/list", params)
export const addSharing = params => post("/v2/breach/sharing/create", params)
export const deleteSharing = params => post("/v2/breach/sharing/delete", params)
export const getSupplementList = params => post("/v2/breach/supplement/list", params)
export const getCooperateList = params => post("/v2/breach/cooperation/list", params)
export const deleteSupplement = params => post("/v2/breach/supplement/delete", params)
export const changeSupplementStatus = params => post("/v2/breach/supplement/chargeState", params)
export const getEmailListPost = params => post('/v1/email/resultList', params)
export const getAttachmentsPost = params => post("/v2/breach/file/down", params)
export const getEmailTemplateList = params => post("/v1/email/list", params)
export const createEmailTemplate = params => post("/v1/email/createOrUpdate", params)
export const deleteEmailTemplate = params => post("/v1/email/delete", params)
export const getEmailTemplateDetail = params => post("/v1/email/detail", params)
export const getEmailTemplateDrop = params => post("/v1/email/find/down", params)
export const deleteCooperater = params => post("/v2/breach/cooperation/delete", params)
export const dataBreachTransfer = params => post("/v2/breach/transfer", params)
export const createActionMode = params => post("/v2/breach/action/model/create", params)
export const getActionRemarkList = params => post("/v2/breach/action/info/List", params)
export const updateActionMode = params => post("/v2/breach/action/model/update", params)
export const deleteRemark = params => post("/v2/breach/action/info/Delete", params)
export const getActionModalDetail = params => post("/v2/breach/action/models/detail", params)
export const getActionListPost = params => post("/v2/breach/action/model/list", params)
export const getDataActionList = params => post("/v2/breach/action/list", params)
export const initActionList = params => post("/v2/breach/action/autoCreate", params)
export const createDataAction = params => post("/v2/breach/action/createAction", params)
export const getDataActionDetail = params => post("/v2/breach/action/actionDetail", params)
export const deleteAction = params => post("/v2/breach/action/deleteAction", params)
export const backAction = params => post("/v2/breach/action/actionRefuse", params)
export const createRisk = params => post("/v2/breach/action/ActionCreate", params)
export const getRiskList = params => post("/v2/breach/risk", params)
export const getReviewData = params => post("/v2/breach/preview", params)
export const createLog = params => post("/v2/breach/log/create", params)
export const getReviewFileList = params => post("/v2/breach/download", params)
export const createReport = params => post("/v1/breach/report/create", params)
export const refuseSupplement = params => post("/v2/breach/refuse", params)
export const dispatchUser = params => post("/v2/breach/supplement/dispatch", params)
export const getRefuse = params => post("/v2/breach/getRefuse", params)
export const confirmRefuse = params => post("/v2/breach/isPrompt", params)